#pragma once
#include <Windows.h>

enum TerrainEditState
{
	TES_Not,
	TES_Down,
	TES_Up,
	TES_Slope,
	TES_Water,
};
enum TMMouseButton
{
	TMB_Left,
	TMB_Right,
	TMB_Middi,
};
class CTerrainManage
{
public:
	void Inital();
	void capture();
	void CreateTerrain(int worldsize = 5000, int size = 257);
	void setEditState(TerrainEditState _state);
	
	void injectMouseMove(int _absx, int _absy, int _absz, int _width, int _height);
	void injectMousePress(int _absx, int _absy, TMMouseButton _id, int _width, int _height);
	void injectMouseRelease(int _absx, int _absy,TMMouseButton _id, int _width, int _height);
	//void injectKeyPress(QKeyEvent* _evt);
	//void injectKeyRelease(QKeyEvent* _evt);
protected:
private:
};